<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmTipoUsuariosABM.aspx.vb" Inherits="TGB.FrmTipoUsuariosABM" 
    title="Grupos del Sistema" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div id="DIV1" style="width: 100%; height: 22px; text-align: left; background-color: #ccccff;" >
    
        <asp:Label ID="LblTitulo" runat="server" CssClass="titulo" Text="Administracion de Grupos" Font-Underline="False" Height="8px" Width="296px" Font-Names="Calibri"></asp:Label>
        </div><hr /> 
<div style="width: 99%; height: 133px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
        <br />
    <table class="tabla" style="width: 416px; height: 56px; text-align: center;" >
        <tr>
            <td align="right" style="width: 25%; height: 14px;">
                <asp:Label ID="Label1" runat="server" Text="Grupo de Usuarios" Font-Bold="True"></asp:Label></td>
            <td style="width: 22%; height: 14px;" align="left" >
                <asp:TextBox ID="TxtTipoUsuario" runat="server" CssClass="campotxt" MaxLength="15" Width="240px" Font-Bold="True"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="center" colspan="2" style="height: 21px">
                <asp:LinkButton ID="LinkGuardar" runat="server" CssClass="BotonLink">Guardar</asp:LinkButton> /
                <asp:LinkButton ID="LinkEliminar" runat="server" CssClass="BotonLink">Eliminar</asp:LinkButton> /
                <asp:LinkButton ID="LinkBuscar" runat="server" CssClass="BotonLink">Buscar</asp:LinkButton> /
                <asp:LinkButton ID="LinkCancelar" runat="server" CssClass="BotonLink">Cancelar</asp:LinkButton>
            
            </td>
        </tr>
        
    </table>
    <asp:HiddenField ID="HFIdTipoUsuario" runat="server" />
        </div>
    <hr />
    <div style="width: 100%; height: 100%; background-color: #efefef">
        <asp:GridView ID="GridTipoUsuario" runat="server" AllowPaging="True" AllowSorting="True"
            AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC"
            BorderWidth="1px" CellPadding="4" CssClass="tabla"
            ForeColor="Black" GridLines="Horizontal" PageSize="25" Style="width: 100%" Width="2984px" BorderStyle="None" CellSpacing="1">
            <PagerSettings PageButtonCount="25" />
            <FooterStyle BackColor="#CCCC99" ForeColor="Black" />
            <Columns>
                <asp:TemplateField>
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox1" runat="server" Text='<%# Bind("IdTipoUsuario") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        &nbsp;<asp:LinkButton ID="LinkSeleccionar" runat="server" CommandName="Select">Ver</asp:LinkButton>
                        <asp:HiddenField ID="HFTipoUsuario" runat="server" Value='<%# Bind("IdTipoUsuario") %>' />
                    </ItemTemplate>
                </asp:TemplateField>
                <asp:TemplateField HeaderText="Descripcion">
                    <EditItemTemplate>
                        <asp:TextBox ID="TextBox2" runat="server" Text='<%# Bind("Descripcion") %>'></asp:TextBox>
                    </EditItemTemplate>
                    <ItemTemplate>
                        <asp:Label ID="LblDescripcion" runat="server" Text='<%# Bind("Descripcion") %>'></asp:Label>&nbsp;
                    </ItemTemplate>
                </asp:TemplateField>
            </Columns>
            <SelectedRowStyle BackColor="#CC3333" ForeColor="White" Font-Bold="True" />
            <PagerStyle BackColor="White" ForeColor="Black" HorizontalAlign="Right" />
            <HeaderStyle BackColor="#333333" Font-Bold="True" ForeColor="White" />
        </asp:GridView>
    </div>
</asp:Content>
